package com.jmp.api.dto;

import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
public class GoodsInfoResponse {
    private Integer companyId;
    private String goodsName;
    private String goodsNameRemark;
    private Integer goodstypeId;
    private String goodsTypeName;
    private String goodsDetails;
    private Integer ispayment;
    private String goodPhoto;
    private List<Spec> goodSpecModelList;
    private Integer showPrice;
    private Integer fromApp;
    private String wholesaleInfo;

    @Data
    @Builder
    public static class Spec {
        private Integer specId;
        private String specName;
        private String specAttribute;
        private Integer specNum;
        private BigDecimal price;
        private BigDecimal priceRemark;
        private List<Spec> goodSpecModelList;
    }
}
